Throws an exception if collection already contains item with specified key.
Syntax
'Declaration
Public Overridable Sub CheckKey( _
ByVal As , _
ByVal As , _
ByVal As _
)
public virtual void CheckKey(
,
,
)
Parameters
- item
- The item to check.
- oldKey
- The old key.
- newKey
- The new key.
See Also